﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace SD.EF
{
    [Table("Orders")]
    public class OrderEntity
    {
        [Key]
        public string Id { get; set; }

        public Guid FilmId { get; set; }
        public FilmEntity Film { get; set; }

        public Guid UserId { get; set; }

        public DateTime Timestamp { get; set; }
    }
}